<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://www.springframework.org/tags" prefix="spring" %>
<%@ taglib uri="http://www.springframework.org/security/tags" prefix="acegi" %>
<c:set var="contextPath" value="${pageContext.request.contextPath}" />
<html>
<head>
    <script type="text/javascript" src='<spring:url value="/resources/js/generico/gen/ctgProducto.js" />'></script>
    <script type="text/javascript" src='<spring:url value="/resources/js/generico/Menu.js" />'></script>
    <script type="text/javascript">
    	Ext.onReady(function(){
    		Asi.utils.setTitle("PRODUCTOS");
    		Asi.combos.initCtgGarantias(<c:out value="${ctgGarantia}" default="[]" escapeXml="false" />);
			var config = {
					ctgProductos: <c:out value="${ctgProductos}" default="[]" escapeXml="false" />,
					ctgColor: <c:out value="${ctgColor}" default="[]" escapeXml="false" />,
					ctgMaterialCortina: <c:out value="${ctgMaterialCortina}" default="[]" escapeXml="false" />,
					ctgMaterialAlfombra: <c:out value="${ctgMaterialAlfombra}" default="[]" escapeXml="false" />,
					ctgTamanioCortina: <c:out value="${ctgTamanioCortina}" default="[]" escapeXml="false" />,
					ctgTamanioAlfombra: <c:out value="${ctgTamanioAlfombra}" default="[]" escapeXml="false" />,
			};
    		AsiViewport.init(CtgProducto.init(config));
    		Asi.constants.buttons.DIGITALIZACION;
    	});
    </script>
</head>
<body>
</body>
</html>